import { createApp } from 'vue'
import { createPinia } from 'pinia'
import DevUI from 'vue-devui'

import '@devui-design/icons/icomoon/devui-icon.css'
import { ThemeServiceInit, infinityTheme } from 'devui-theme'
import 'vue-devui/style.css'
import App from './App.vue'
import router from './router'
import store from '@/stores'

import '@/assets/iconfont/iconfont.css'
import '@/assets/iconfont/iconfont.js'

import '@/router/permission'
ThemeServiceInit({ infinityTheme }, 'infinityTheme')
const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(DevUI)
app.use(store)

app.mount('#app')
